<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<#include "/pages/include/front_include.ftl" />
<@h.css href="/css/screen.css"/>
<@h.css href="/css/indexStyle.css"/>
<@h.css href="/css/letaoUI.css"/>
<@h.css href="/css/indexUI.css"/>
<@h.css href="/css/buttons.css"/>

<@h.js src="/javascripts/public/myfile.js"/>
<@h.js src="/javascripts/public/news.js"/>
<@h.js src="/javascripts/front/base.Letao.js"/>
<@h.js src="/javascripts/front/indexUI.js"/>
<script type="text/javascript">
	var myfile=new myfile();
	var news=new news();
	$(function(){
			$('#FAVORITE .allSelect').click(function(){
				myfile.checkFAVORITE($(this));
			});
			$('#delFavorite').click(function(){
				news.delFavorite();
			});
	});
</script>
<style type="text/css">
a.f14{
color:black;
}
</style>
</head>

<body>
<#include "/pages/include/header.ftl" />

<div class="center">
	<div id="nav" class="nav">
		&nbsp;
	</div>
	<div class="main" style="min-height:400px;">
		<div id="FAVORITE">
		<div class="action-div">
			<a id="delFavorite" class="minibutton"><span>删除</span></a>
		</div>
		<div class="sList" >
		<table width="100%" class="sTable" cellpadding="0" cellspacing="0" border="0" >
			<tr>
				<td class="sTh checkbox" ><input class="inputCheckbox allSelect" type="checkbox" id="" name="" /></td>
				<th class="sTh">文档名称</th>
				<th class="sTh">分类</th>
				<th class="sTh">收藏时间</th>
			</tr>
		<#if mores?exists>
		<#list mores.result as a>
			<tr class="<#if a_index%2==0>sRow2<#else>sRow1</#if>">
				<td class="sCell" ><input class="inputCheckbox selectItem" type="checkbox" value="${a.id?if_exists}" /></td>
				<td class="sCell">
				<a class="f14" href="${contextPath}/news/news-showNews.action?newsId=${a.id?if_exists}" title="${a.title?if_exists} ">
				${a.title?if_exists} </a></td>
				<td class="sCell">${a.category?if_exists}</td>
				<td class="sCell">${a.addFavTime?if_exists}</td>
			</tr>
		</#list>
		</#if>
		</table>
		</div>
		<div style="text-align:center;margin-top:10px;">
		<@s.component id="page" template="components/front_page.ftl"> 
				<@s.param name="page" value="%{mores}" />
				<@s.param name="pageRange" value="%{pageRange}" />
				<@s.param name="param" value="%{action.param}" />
		</@s.component>
		</div>
		</div>
	</div>
</div>
<#include "/pages/include/footer.ftl" />
</body>

</html>
